﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Benefit.Models.Week;
namespace Benefit.Interface.Week
{
    /// <summary>
    /// 公司周累计
    /// </summary>
     public interface ICompanyWeekSum
    {

         void InitCompanyWeekSum(int year, int week, int month);

         void Delete(int year, int week);
        /// <summary>
        /// 获取交易员查询日期之前的五日均值
        /// </summary>
        /// <param name="operatorId"></param>
        /// <param name="tradeHistoryId"></param>
        /// <param name="db"></param>
        /// <returns></returns>
         CompanyWeekSum GetCompanyWeekSum(int year, int week);

        /// <summary>
        /// 获取交易员查询日期之前的五日均值
        /// </summary>
        /// <param name="operatorId"></param>
        /// <param name="tradeHistoryId"></param>
        /// <param name="db"></param>
        /// <returns></returns>
         List<CompanyWeekSum> GetCompanyWeekSums(int year, int month);
    }
}
